<template>
<el-descriptions :column="1" border style="width: 800px;">
    <el-descriptions-item label="项目材料付款" width="140px"><el-text>{{datas.MaterialPay}}</el-text></el-descriptions-item>
    <el-descriptions-item label="施工班组付款" width="140px"><el-text>{{datas.LaborPay}}</el-text></el-descriptions-item>
    <el-descriptions-item label="项目报销单" width="140px"><el-text>{{datas.Reimburse}}</el-text></el-descriptions-item>
    <el-descriptions-item label="项目成本管台账" width="140px"><el-text>0</el-text></el-descriptions-item>
</el-descriptions>
</template>
<script lang="ts" setup>
import { ref,onMounted } from 'vue'
import http from '../../../util/request';
const datas = ref<any>({MaterialPay:0,LaborPay:0,Reimburse:0})
const onGetData = () => {
    http.post('/statistics/finance/costs',{}).then((response:any)=>{
        datas.value = response.data.data
    })
}

onMounted(()=>{
    onGetData()
})
</script>

<style scoped>

</style>